package net.loststone;


class Town {

    // The official government ID
    String gov_id;
    String name;
    Town parent = null;
    String type = null;

    Date dateCreated // autoset by plugin
    Date lastUpdated // autoset by plugin

    int version

    static constraints = {
        name(nullable : false)
        type(inList: ["country", "state", "province", "town"])
    }


   
}
